﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CrmContacto.Contracts.Contracts.Search
{
    [DataContract]
    public class AccionDeMarketingSearch
    {
        public AccionDeMarketingSearch()
        {
            Ambitos = new List<int>();
            DiscriminadorIdList = new List<int>();
            EstadoList = new List<int>();
        }

        [DataMember]
        public int EmpresaId { get; set; }

        [DataMember]
        public int? Id { get; set; }

        [DataMember]
        public List<int> EstadoList { get; set; }

        [DataMember]
        public List<int> DiscriminadorIdList { get; set; }

        [DataMember]
        public int? TipoId { get; set; }

        [DataMember]
        public int? PlanDeMarketingId { get; set; }

        [DataMember]
        public string NombreLike { get; set; }

        [DataMember]
        public string DescripcionLike { get; set; }

        [DataMember]
        public string CodigoLike { get; set; }

        [DataMember]
        public DateTime? FechaEventoDesde { get; set; }

        [DataMember]
        public DateTime? FechaEventoHasta { get; set; }

        [DataMember]
        public List<int> Ambitos { get; set; } 

        [DataMember]
        public bool LoadAmbitos { get; set; }

        [DataMember]
        public bool LoadAccionesDeMarketingRelacionadas { get; set; }     

        [DataMember]
        public bool LoadListasDeDistribucion { get; set; }

        [DataMember]
        public bool LoadResultados { get; set; }
    }
}
